package cn.wxq.daily.empdailymgforserve.mapper;

import cn.wxq.daily.empdailymgforserve.domain.AbilityPaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 试卷
 */
@Mapper
public interface AbilityPaperDao {
    /**
     * 添加试卷
     * @param abilityPaper
     */
    public int addPaper(AbilityPaper abilityPaper);

    /**
     * 分页查询试卷
     * @return
     */
    public List<AbilityPaper> findPaperByPage(AbilityPaper abilityPaper);

    public int update(AbilityPaper abilityPaper);

    public int delete(Integer alityPaperId);

}
